package com.guoheng.safe.sys.dto.basicinfo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.util.Date;

/**
 * 类功能描述:　PromiseDataAddDTO
 *
 * @author Eternal
 * @date 2019-01-22 14:01
 */
@Data
public class PromiseDataAddDTO {

    @PositiveOrZero
    @NotNull
    private Integer productsNum;

    @PositiveOrZero
    @NotNull
    private Integer runningNum;

    @PositiveOrZero
    @NotNull
    private Integer stoppingNum;

    @NotNull
    private Boolean isDangerSource;

    @NotNull
    private Boolean isDangerTechnology;

    @PositiveOrZero
    @NotNull
    private Integer superFireWork;

    @PositiveOrZero
    @NotNull
    private Integer firstFireWork;

    @PositiveOrZero
    @NotNull
    private Integer secondFireWork;

    @PositiveOrZero
    @NotNull
    private Integer confinedSpaceWork;

    @PositiveOrZero
    @NotNull
    private Integer blindBlockingWork;

    @PositiveOrZero
    @NotNull
    private Integer elevatedWork;

    @PositiveOrZero
    @NotNull
    private Integer hoistingWork;

    @PositiveOrZero
    @NotNull
    private Integer temporaryElectricWork;

    @PositiveOrZero
    @NotNull
    private Integer movingWork;

    @PositiveOrZero
    @NotNull
    private Integer circuitWork;

    @PositiveOrZero
    @NotNull
    private Integer overhaulWork;

    @NotNull
    private Boolean isContractorOperation;

    @NotNull
    private Boolean isPilotProduction;

    @NotNull
    private Boolean isStartStopState;

    @NotNull
    private Boolean isParticularTime;

    @NotNull
    private Boolean isWeatherWarning;

    @NotBlank
    private String headPerson;

    @NotNull
    private Date promiseTime;

}
